package synchro;

/**
 *
 * @author boomar
 */
class Registre {

    long[] Tab;

    public Registre(int n) {
        Tab = new long[n];
    }

    public long[] get() {
        long[] res = new long[this.Tab.length];
        for (int i = 0; i < res.length; i++) {
            res[i] = Tab[i];
        }
        return res;
    }

    public void set(long[] T) {
        for (int i = 0; i < Tab.length; i++) {
            Tab[i] = T[i];
        }
    }
}
